package com.elite.controller;

import com.elite.config.ConfigProperties;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TestController {

	@Autowired
	private ConfigProperties configProperties;
	@GetMapping("/test")
	public String test(){
		System.out.println("configProperties = " + configProperties);
		return configProperties.getActive();
	}
}
